import { CategoryObj } from '@/api/product/attr/types';
import { RouteRecordRaw } from 'vue-router';

//定义小仓库数据store类型
export interface UserState {
  id: number | string;
  token: string | null;
  menuRoutes: RouteRecordRaw[];
  username: string;
  avatar: string;
}

export interface CategoryState {
  c1Id: string | number;
  c2Id: string | number;
  c3Id: string | number;
  c1Arr: CategoryObj[];
  c2Arr: CategoryObj[];
  c3Arr: CategoryObj[];
}
